public class ConversionDemo {
    public static void main(String[] args){
        int a = 10;
        int b = 20;
//        System.out.println(a + b);
        int c = a + b;
        System.out.println(c);

        System.out.println("----------------------------");

        int aa =10;
        byte bb = 20;
        System.out.println(aa+bb);
        int cc = aa + bb;
        System.out.println(cc);

        System.out.println("---------------------------------------");

        byte dd = (byte)(aa+bb);
        System.out.println(dd);

        System.out.println("----------------------------");
        double d1 = 3.14;
        int a1 = (int)d1;
        System.out.println(a1);






    }

}
